#include <iostream>
#include <cmath>

using namespace std;

void displayPower(double r, long n)
{
    cout << pow(r, n) << endl;
}

int main()
{
    double r;
    long n;
    cout << "请输入r,n：" << endl;
    cin >> r >> n;
    displayPower(r, n);
    return 0;
}